#pragma once

#include "xftp_task.h"

class XFtpStor: public XFtpTask {
public:
    XFtpStor();
    ~XFtpStor();
	// 解析协议
	virtual void Parse(std::string type, std::string msg) override;
	virtual void Read(struct bufferevent *bev) override;
	virtual void Event(struct bufferevent *bev, short what) override;
private:
    FILE *fp = nullptr;
    char buf[1024] = {0};
};

